﻿using System;
using System.ComponentModel;

namespace SapaFinance.Domain.Model
{
    public class BankAccountDetails
    {
        [DisplayName("Имя клиента")]
        public string Name { get; private set; }

        [DisplayName("Полное имя клиента")]
        public string FullName { get; private set; }

        [DisplayName("Компания")]
        public Company Company { get; private set; }

        public BankAccountDetails()
        {
            DateCreate = DateTime.Now;
        }

         [DisplayName("Компания")]
        protected DateTime DateCreate
        {
            get { throw new NotImplementedException(); }
            set { throw new NotImplementedException(); }
        }

        public void SetName(string name)
        {
            Name = name;
        }

        public void SetFullName(string fullName)
        {
            FullName = fullName;
        }

        public void SetCompany(Company company)
        {
            Company = company;
        }
    }
}